package com.eatme.web.security.authentication.wechat.applet.dao;

import com.eatme.web.app.customer.entity.TbUser;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface WechatAppletSecurityUserDao extends JpaRepository<TbUser,Integer> {

    Optional<TbUser> findByOpenId(String openId);
}
